import { View } from '@tarojs/components';
import Icon, {icons} from 'components/Icon'
import code from './code.md'
import './index.scss'

export default function Index() {
  return (
    <View className='container' style={window.eval as any}>
      <wemark md={code} link highlight type='wemark' />
      <View className='icon_wrapper'>
        {icons.map((icon) => (
          <View className='icon_container' key={icon}>
            <Icon name={icon} size={30} />
            <View className='icon_name'>{icon}</View>
          </View>
        ))}
      </View>
    </View>
  )
}
